<?php
	class Round extends BaseModel {

		private $idRound;
		private $division;
		private $starts;
		private $ends;
		private $name;
		private $description;

		public function getIdRound() {
			return $this->idRound;
		}
		
		public function setIdRound($value) {
			$this->idRound = $value;
		}
		
		public function getDivision() {
			return $this->division;
		}
		
		public function setDivision($value) {
			$this->division = $value;
		}
		
		public function getStarts() {
			return $this->starts;
		}
		
		public function setStarts($value) {
			$this->starts = $value;
		}
		
		public function getEnds() {
			return $this->ends;
		}
		
		public function setEnds($value) {
			$this->ends = $value;
		}
		
		public function getName() {
			return $this->name;
		}
		
		public function setName($value) {
			$this->name = $value;
		}
		
		public function getDescription() {
			return $this->description;
		}
		
		public function setDescription($value) {
			$this->description = $value;
		}
		
		public function required() {
			return array(
				"idRound" => $this->idRound,
				"division" => $this->division,
				"starts" => $this->starts,
				"ends" => $this->ends,
				"name" => $this->name,
			);
		}

		public function json() {
			return array(
				"idRound" => $this->idRound,
				"division" => $this->division,
				"starts" => $this->starts,
				"ends" => $this->ends,
				"name" => $this->name,
				"description" => $this->description
			);
		}

	}